Fix netfront to accept received packets at a wider range of
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Tue, 6 Dec 2005 14:02:54 +0000 (15:02 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Tue, 6 Dec 2005 14:02:54 +0000 (15:02 +0100)
commit107808a4528a842380370e2e30cba57893d3f848
treef6822abf51d66a82d7c671034db99bd2f37c4438
parent7710ccfc3004f6c21c45e4ef5c1ae1c0cfee3829
Fix netfront to accept received packets at a wider range of
offsets within a memory page. Also fix, skb realloc-and-copy
when copying really is required (we were forgetting whether
the packet data is known valid, and checksumming packets that
do not have the csum field filled in).

Signed-off-by: Keir Fraser <keir@xensource.com>
linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c